<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			if( !getApp().globalData.token ){
				getApp().globalData.token = uni.getStorageSync('token')
			}
		},
		onHide: function() {
			console.log('App Hide')
		},
		
		globalData:{
			token:''
		}
	}
</script>

<style>

</style>
